<%-- 
    Document   : login
    Created on : Jan 7, 2012, 8:38:18 PM
    Author     : Ngoc Linh
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link type="text/css" rel="Stylesheet" href="../styles/admin.css" />
        <script type="text/javascript" src="../javascripts/jquery-1.6.1.min.js"></script>   
        <title>Đăng nhập quản trị P2TBid</title>
    </head>
    <body>
        <center>
            <div id="frmLoginAdmin">
                <h1>ĐĂNG NHẬP ADMIN</h1>
                <form action="" method="post">
                    <table width="100%">
                        <tr>
                            <td>Tên đăng nhập</td>
                            <td>
                                <input type="text" name="adname" id="adname" />
                            </td>
                        </tr>
                        <tr>
                            <td>Mật khẩu</td>
                            <td>
                                <input type="password" name="adpass" id="adpass" />
                            </td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td>
                                <input type="submit" name="adlogin" class="btn_admin" value="Đăng nhập" />
                                <input type="button" class="btn_admin" value="Về trang chủ" onclick="document.location.href='../index.do';" />
                            </td>
                        </tr>
                        <c:if test="${ not empty requestScope.message}">
                            <tr>
                                <td>&nbsp;</td>
                                <td style="text-align: left;">
                                    <p class="message">${requestScope.message}</p> 
                                </td>
                            </tr>
                        </c:if>
                    </table>
                </form>
            </div>
        </center>
    </body>
</html>
